import Layout from '@/layouts/index.vue';

export default [
  {
    path: '/page',
    name: 'pages',
    component: Layout,
    redirect: '/page/index',
    meta: {orderNo:2, title: '页面', icon: 'control-platform', expanded: true },
    children: [
      {
        path: 'index',
        name: 'pagesIndex',
        component: () => import('@/pages/page/index.vue'),
        meta: { title: 'Page' , expanded:true,hidden:true},
      },
      {
        path: 'edit/:id?',
        name: 'pagesEdit',
        component: () => import('@/pages/page/edit.vue'),
        meta: { title: 'PageEdit' , expanded:true,hidden:true},
      },
    ],
  },
];
